package com.ruoyi.common.enums;

/**
 * 消息类型
 *
 * @author ruoyi
 */
public enum MsgType {
    UNRECEIVE("1", "抢单消息"),
    RECEIVE("2", "接单消息"),
    FINISHED("3", "完成消息"),
    CANCEL("4", "取消消息"),
    REVOKE("5", "撤单消息");

    private final String code;
    private final String info;

    MsgType(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
